
/**
 * 
 * @param {*} obj 
 * @param {*} key 
 * @param {*} val 
 * @param {*} enuertable 
 */
export const def = function (obj, key, val, enumerable) {
  Object.defineProperty(obj, key, {
    value,
    enumerable,
    writable: true,
    configurable: true
  })
}